//
//  ZQDisplayButton.m
//  jianzhik
//
//  Created by huami on 2018/8/28.
//  Copyright © 2018年 WKWebView. All rights reserved.
//

#import "ZQDisplayButton.h"
#import "UIView+zq_extension.h"
@implementation ZQDisplayButton

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.imageView.zq_x = self.width - self.imageView.zq_width - 5;
//
//    viewBackgroung(self.imageView)
//    //    self.titleLabel.zq_y = self.zq_height - self.titleLabel.zq_height;
    self.titleLabel.zq_centerY = self.zq_height * 0.5;
    self.imageView.zq_centerY = self.zq_height * 0.5 ;
//
//    viewBackgroung(self.titleLabel)
//
//    
    [self.titleLabel sizeToFit];
    self.titleLabel.zq_centerX = self.zq_width * 0.5;
}
@end
